<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <meta action="empadd.php" charset="UTF-8">
        <title>员工信息</title>
        <link href="list.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
        <div id="con">
            
            
            
        <h1>编辑员工数据</h1>
        <form action="" method="post">
        <table id="si">
                <tr>
                    <th>姓名：</th>
                    <th><input type="text" class="txt" name="e_name" value="<?php echo $edis['e_name']?>"/></th>
                </tr>
                 <tr>
                    <th>所属部门：</th>
                    <th><input type="text" name="e_dept" class="txt" value="<?php echo $edis['e_dept']?>"/></th>
                </tr>
                  <tr>
                    <th>头像：</th>
                    <td>   
                        <input type="radio" name="e_img" value="images/1.jpg" 
                            <?php if ($edis['e_img']=='images/1.jpg')
                            {     echo 'checked="checked"'; }
                            ?>
                           ><img src='images/1.jpg'>
                        
                        <input type="radio" name="e_img" value="images/2.jpg" <?php if ($edis['e_img']=='images/2.jpg')  echo 'checked="checked"';?> /><img src="images/2.jpg"                                                         
                         />
                        
                        <input type="radio" name="e_img" value="images/3.jpg" <?php if ($edis['e_img']=='images/3.jpg')  echo 'checked="checked"';?>/><img src="images/3.jpg"                  
                        />
                        
                        <input type="radio" name="e_img" value="images/4.jpg"  <?php if ($edis['e_img']=='images/4.jpg')  echo 'checked="checked"';?>/><img src="images/4.jpg"                                                         
                        />
                    </td>
                </tr>
                 <tr>
                    <th>出生日期：</th>
                    <th><input type="datetime-local" name="date_of_birth" value="<?php echo $edis['date_of_birth']?>"/> </th>
                </tr>
                 <tr>
                    <th>入职日期：</th>
                    <th><input type="datetime-local" name="date_of_entry" value="<?php echo $edis['date_of_entry']?>" /> </th>
                </tr>
                <tr>
                    <th></th>
                    <td>
                        <input class="btn" type="button" value="取消" onclick="history.go(-1);"/>
                        <input class="btn" type="submit" value="保存编辑" />
                    </td>
                </tr>
        </table>
      </form>
        </div>
    </body>
</html>
